package com.juneng.service;

import com.juneng.entity.BookDiscount;
import com.juneng.dto.BookDiscountDto;
import com.juneng.dto.BookDiscountQueryDto;
import com.juneng.vo.BookDiscountVo;
import java.util.List;
import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 * 书籍折扣 服务类
 *
 * @author zds
 * @since 2021-07-30
 */
public interface IBookDiscountService  {

        IPage<BookDiscountVo> page(BookDiscountQueryDto dto) ;

        List<BookDiscount> list(BookDiscountQueryDto dto) ;

        Integer save(BookDiscountDto dto) ;

        Integer updateById(BookDiscountDto dto) ;

        Integer deleteLogic(List<Integer> toIntList) ;

        BookDiscount getById(Integer id) ;
}
